package com.scommunity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scommunity.domain.Perm;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.transaction.annotation.Transactional;

@Mapper
@Transactional(rollbackFor = Exception.class)
public interface PermMapper extends BaseMapper<Perm>{
    void addPerm(Integer roleId, Integer permId);

    void delPerm(Integer roleId, Integer permId);

}
